package lab02.test13;

import java.util.Scanner;

/**
 * Created by 123 on 2017/10/20.
 */
public class Test13 {
    public static void main(String[] args) {

        double[] scorce = new double[5];

        Gymnastics li = new Gymnastics();


        Scanner sc = new Scanner(System.in);
        for (int i = 0; i < 5; i++) {           //从屏幕输入5个成绩
            scorce[i] = sc.nextDouble();
        }
        System.out.println("平均成绩" + li.average(scorce));
    }
}

